import Vue from 'vue'
import vuex from 'vuex'
Vue.use(vuex)


export default new vuex.Store({
    state: {
        token: '',
        search:''
    },
    mutations: {
        set_token(state, token) {
            state.token = token
            localStorage.token = token
        },
    },
    getters: {
    },
})